package com.kb.dto.components;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "远程API调用的报价参数DTO")
public class RemoteApiComponentsDTO {

    @ApiModelProperty(value = "库存类型", allowableValues = "1,2,3",
            notes = "1-线上库存，2-导入库存，3-自备库存",
            example = "1")
    private Integer stockType;

    @ApiModelProperty(value = "制造商型号", example = "IC-ATMEGA328P")
    private String model;

    @ApiModelProperty(value = "供应商", notes = "多个供应商用逗号隔开",
            example = "供应商A,供应商B")
    private String supplier;

    @ApiModelProperty(value = "币种", allowableValues = "RMB,USD",
            notes = "默认传RMB", example = "RMB")
    private String currency;

    @ApiModelProperty(value = "数量", example = "100")
    private Long num;

    @ApiModelProperty(value = "用户名", notes = "用户名",
            example = "用户名")
    private String username;

    @ApiModelProperty(value = "密码", notes = "密码",
            example = "密码")
    private String password;

}